package com.longe.export;

import lombok.Data;

@Data
public class SQLField {
	//字段描述
	private String discription;
	//字段
	private String fieldName;
	//转换器
	private SQLFieldTransform transformer;

	/**
	 *
	 * @param discription 描述
	 */
	public SQLField(String discription) {
		super();
		this.discription = discription;
	}

	/**
	 * 
	 * @param fieldName 字段名称
	 * @param discription 描述
	 */
	public SQLField(String fieldName, String discription) {
		super();
		this.discription = discription;
		this.fieldName = fieldName;
	}
	
	/**
	 * 
	 * @param fieldName 字段名称
	 * @param discription 描述
	 * @param transformer 转化器
	 */
	public SQLField(String fieldName, String discription, SQLFieldTransform transformer) {
		super();
		this.discription = discription;
		this.fieldName = fieldName;
		this.transformer = transformer;
	}
}
